// SPU接口的通用ts类型
export interface responseData {
  code: number;
  message: string;
  ok: boolean;
}
// spu的类型
export interface spuData {
  id?: number | string;
  spuName: string;
  description: string;
  category3Id: number | string;
  tmId: number | string;
  spuSaleAttrList: null;
  spuImageList: null;
}
// 获取spu列表返回的records字段的类型
export type recordsData = spuData[];
// 获取spu列表返回的data字段的类型
export interface getSpuListData {
  records: recordsData;
  total: number;
  size: number;
  current: number;
  searchCount: boolean;
  pages: number;
}
// 获取spu列表返回的全部数据类型
export interface getSpuListResponseData extends responseData {
  data: getSpuListData;
}
